# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=telepathy-accounts-signon
pkgver=2.1
pkgrel=3
pkgdesc='A mission control plugin for Telepathy, integrating with libaccounts and libsignon to provide IM accounts and authentication'
arch=(x86_64)
url='https://gitlab.com/accounts-sso/telepathy-accounts-signon'
license=(LGPL)
depends=(telepathy-mission-control libaccounts-glib libsignon-glib)
makedepends=(meson)
source=(https://gitlab.com/accounts-sso/${pkgname}/-/archive/$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('edee222429ce7a0d4fdf824c57c3ecdbf6c9b40c131867954ced7c9d959a7d28')

build() {
  meson build $pkgname-$pkgver \
    --prefix /usr
  meson compile -C build
}

package() {
  meson install -C build --destdir="$pkgdir"
}
